package com.simple.datax.bo.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.simple.datax.bo.IDataxSendRawMsgBO;
import com.simple.datax.dao.IDataxSendRawMsgDAO;
import com.simple.datax.vo.DataxSendRawMsgVO;
import com.simple.util.object.PageInfoBean;

@Service("dataxSendRawMsgBO")
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
public class DataxSendRawMsgBOImpl implements IDataxSendRawMsgBO {

	@Autowired
	private IDataxSendRawMsgDAO dataxSendRawMsgDAO;
	@Override
	public DataxSendRawMsgVO findById(String fcId) {
		return dataxSendRawMsgDAO.findById(fcId);
	}

	@Override
	public List<DataxSendRawMsgVO> findAll() {
		return dataxSendRawMsgDAO.findAll();
	}

	@Override
	public List<DataxSendRawMsgVO> findDataxSendRawMsgVOByPage(
			PageInfoBean pageInfoBean, String fcRecvRawMsgId,
			String fcMessageId, String fcSenderId, String fcReceiverId,
			String fromDate,String toDate) {
		return dataxSendRawMsgDAO.findDataxSendRawMsgVOByPage(pageInfoBean, fcRecvRawMsgId, fcMessageId, fcSenderId, fcReceiverId,fromDate ,toDate);
	}

}
